#include "BulletCollision/CollisionShapes/btMaterial.h"
#ifdef __cplusplus
extern "C" {
#endif
btMaterial* bullet_NewbtMaterial(){
	btMaterial* wrap_out = new btMaterial();
	return wrap_out;
}

btMaterial* bullet_NewbtMaterial1(double fric,double rest){
	btScalar c_arg_fric=fric;
	btScalar c_arg_rest=rest;
	btMaterial* wrap_out = new btMaterial(c_arg_fric,c_arg_rest);
	return wrap_out;
}

double bullet_btMaterial_GetFieldOfM_friction(btMaterial* c_this){
	return (double)(c_this->m_friction);
}

double bullet_btMaterial_GetFieldOfM_restitution(btMaterial* c_this){
	return (double)(c_this->m_restitution);
}

int** bullet_btMaterial_GetFieldOfPad(btMaterial* c_this){
	return (int**)(&c_this->pad);
}

#ifdef __cplusplus
}
#endif
